package com.sgs.soda.core.auth;

import java.io.Serializable;

/**
 * @author tianzhonghai
 * @date 2020/5/17 7:53 PM
 */
public class JwtUserDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    private final Integer userId;
    //private final String nickName;

    public JwtUserDetail(Integer userId) {//, String nickName) {
        this.userId = userId;
        //this.nickName = nickName;
    }

    public Integer getUserId() {
        return userId;
    }
}